<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>04-Vue属性绑定</title>
</head>
<body>
<div id="app">

    <input type="text" v-bind:value="msg">
    <input type="text" :value="msg">

    <a :href="myUrl">跳转</a>

</div>

</body>
<script src="js/vue.js"></script>
<script>

    var vue = new Vue({
        el: "#app",
        data: {
            msg: "fuck",
            myUrl:"http://www.baidu.com"
        },
        methods: {}
    })

</script>
</html>